import torch
import numpy as np

print(10)
print(torch.tensor(10))

# data_np=np.random.rand(2,3)
# print(data_np)
# print(torch.tensor(data_np))

# data =[[10.,20,30],[20,30,40]]
# print(data)
# print(torch.tensor(data))

# print(torch.Tensor([2]))

# print(torch.IntTensor(2,3))

# print(torch.DoubleTensor([2.3, 3.2]))

# print(torch.arange(0, 10, 2))
# print(torch.linspace(0, 9, 10))


# print(torch.randn(2, 3))
# seed =torch.random.initial_seed()
# print(seed)
# torch.random.manual_seed(seed)
# print(torch.randn(2, 3))


# data = torch.randn(4, 5)
# print(data)
# print(torch.zeros(2, 3))
# print(torch.zeros_like(data))
# print(torch.ones(2, 3))
# print(torch.ones_like(data))

# print(torch.full([2, 3], 100))
# print(torch.full_like(data, 100))

# print(data.dtype)
# print(data.type(torch.IntTensor).dtype)
# print(data.int().dtype)